UCF STIG Viewer Logo

The macOS system must disable sending diagnostic and usage data to Apple.


Overview

Finding ID Version Rule ID IA Controls Severity
V-259494 APPL-14-002021 SV-259494r941104_rule Medium
Description
The ability to submit diagnostic data to Apple must be disabled. The information system must be configured to provide only essential capabilities. Disabling the submission of diagnostic and usage information will mitigate the risk of unwanted data being sent to Apple. Satisfies: SRG-OS-000205-GPOS-00083,SRG-OS-000206-GPOS-00084
STIG Date
Apple macOS 14 (Sonoma) Security Technical Implementation Guide 2024-01-10

Details

Check Text ( C-63233r941102_chk )
Verify the macOS system is configured to disable sending diagnostic and usage data to Apple with the following command:

/usr/bin/osascript -l JavaScript << EOS
function run() {
let pref1 = $.NSUserDefaults.alloc.initWithSuiteName('com.apple.SubmitDiagInfo')\
.objectForKey('AutoSubmit').js
let pref2 = $.NSUserDefaults.alloc.initWithSuiteName('com.apple.applicationaccess')\
.objectForKey('allowDiagnosticSubmission').js
if ( pref1 == false && pref2 == false ){
return("true")
} else {
return("false")
}
}
EOS

If the result is not "true", this is a finding.
Fix Text (F-63141r941103_fix)
Configure the macOS system to disable sending diagnostic and usage data to Apple by installing the "com.apple.applicationaccess" configuration profile.